Repository navigation
chore: shared Windows agent launcher and full third-party licence notices - #41
Merged
Merged
Conversation
… pnpm and bun shims Shims in any letter case or with trailing dots or spaces are followed to the node or bun script or the exe they wrap and started with an argv list. Through cmd.exe, a word or program path with a character the interpreter acts on is refused, and so is a quoted program path that cmd /c would strip. The hash is recorded in LOOKUP_HASHES and docs/AGENT_LOOKUP.md says how other apps copy the file.
…he downloaded FFmpeg, checked in CI The Rust crates are now one generated rust-crates.txt with each crate's own licence files from the registry, replacing the cargo-about pages that had fallen behind the lock files. The collector adds the interpreter's licence, a note for the FFmpeg build the engine downloads, notes for packages that carry no licence file, and a --check mode that the CI test job runs. The About box says where the texts are installed.
…arry their upstream texts setup/licence_texts/ keeps the licence files of the 69 crates and the flatbuffers wheel that publish none, taken from each upstream repository at the published commit or tag, or the SPDX standard text with the holders the metadata names where upstream has none (dispatch, selectors 0.36.1, sigchld), each with a SOURCE.txt. The collector prints them in rust-crates.txt under a note naming their source and copies them into licenses/python/flatbuffers/; --check fails when an entry is bare while texts are kept for it.
Resolve the two conflicts with the 2.8.5 release commit (65f24eb), in backend/HASHOUT_LOG.md and frontend/HASHOUT_LOG.md. Both had one cause: this branch added its entries directly above a heading that the release restamped from "unreleased" to "_v2.8.5". The branch's entries (three in the backend log, one in the frontend log) stay on top, word for word, and the heading under them takes main's "_v2.8.5" stamp. No other file conflicted, and nothing else was edited by hand. The four entries this branch adds keep their "after 2.8.4, unreleased" stamps, as written; the next release commit stamps them. Seen on the merged tree, on Linux with Python 3.12 and Node 22, every step of ci.yml: setup/collect_licenses.py --check, the engine tests (671 passed, 9 skipped for models and macOS), the engine's --selfcheck and boot probe, npm ci, npm audit, tsc --noEmit, npm test (301), npm run build, compileall, the workflow parse, setup/release_notes.py v2.8.5, the shell syntax pass, the em dash and emoji scan, and the window smoke tests (2). Not run: macOS and Windows.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
chore: shared Windows agent launcher and full third-party licence notices
Summary
backend/app/services/agent_lookup.py, is 1.1.0: one file for every Form app to take unchanged. On Windows it follows npm, pnpm and bun shims, in any letter case or with trailing dots or spaces, to the node or bun script or the .exe they wrap, and starts that with an argv list. Through cmd.exe, a word or program path with a character the interpreter acts on is refused, and so is a quoted program path thatcmd /cwould strip.setup/agents.pyrecords the 1.1.0 hash inLOOKUP_HASHES, anddocs/AGENT_LOOKUP.mdsays how other apps copy the file.licenses/now covers everything that ships. The Rust crates are one generatedlicenses/rust-crates.txtwith each crate's own licence files from the registry, in place of the cargo-about pages that had fallen behind the lock files (src-tauri/about.tomlandsrc-tauri/about.hbsare removed). The collector adds the Python interpreter's licence, a note for the FFmpeg build the engine downloads, and a note for each package that carries no licence file.setup/licence_texts/keeps the licence files of the 69 crates and the flatbuffers wheel that publish none, taken from each upstream repository at the published commit or tag, or the SPDX standard text where upstream has none (dispatch, selectors 0.36.1, sigchld), each with a SOURCE.txt.setup/collect_licenses.py --checkfails when something that ships has no texts, and the CI test job runs it before the engine tests. The About box says where the texts are installed._v2.8.5. The branch's entries stay on top, word for word, and the heading under them takes main's stamp.Commits
Oldest first. The first three are gbarnai's, already on this branch, and are not changed.
Version
No new version and no release commit. The version sites read 2.8.5, from main, and this pull request moves none of them. It ships in the next release.
Checks
Run on the merged tree, on Linux with Python 3.12 and Node 22: every step of
.github/workflows/ci.yml, all passing.python setup/collect_licenses.py --check("licenses/ covers everything that ships"), then the engine tests: 671 passed, 9 skipped (models that need a download, and macOS-only layout tests).python formvis_engine.py --selfcheck, then the engine booted and answered/api/healthand/api/capabilitiesas 2.8.5.npm ci,npm audit --audit-level=low(0 vulnerabilities),npm test(301 passed),npm run build.npx tsc --noEmit -p .,compileall, the workflow files parse,setup/release_notes.py v2.8.5.frontend/tests/window(2 passed).From gbarnai's own description of the three commits: the licence check and the finder tests were run on macOS.
Not run: anything on macOS or Windows after the merge, and a real pnpm or bun install on Windows.
Merging
Merge with a merge commit so each commit stays as it is. Do not squash.